USE [MoonwishOsAvatar]
GO

/****** Object:  Table [dbo].[T_FDT_ValueObjectClass]    Script Date: 04/22/2012 14:25:51 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[T_FDT_ValueObjectClass](
	[ValueObjectClassId] [nvarchar](50) NOT NULL,
	[Name] [nvarchar](50) NOT NULL,
	[Code] [nvarchar](50) NULL,
	[OrderNo] [int] NULL,
	[DataStatus] [nvarchar](10) NOT NULL,
	[Remark] [nvarchar](50) NULL,
 CONSTRAINT [PK_FDT_ValueObjectClass] PRIMARY KEY CLUSTERED 
(
	[ValueObjectClassId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[T_FDT_ValueObjectClass]  WITH CHECK ADD  CONSTRAINT [CK_FDT_ValueObjectClass.DataStatus] CHECK  (([DataStatus]='Disabled' OR [DataStatus]='Released' OR [DataStatus]='New'))
GO

ALTER TABLE [dbo].[T_FDT_ValueObjectClass] CHECK CONSTRAINT [CK_FDT_ValueObjectClass.DataStatus]
GO


